package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2022-11-16
 * Time: 18:56
 */

interface IA {
    int A = 10;
    void funA();
}
interface  IB {
    void funcB();
}
class BClass {

}
abstract class Bclass {

}

abstract class AClass extends BClass implements IA,IB {
    public void funcA() {
        System.out.println("A::funcA()");
        System.out.println(A);
    }

    @Override
    public void funcB() {
        System.out.println("A::funcB()");
    }
}

public class Test2 {
    public static void main(String[] args) {

    }
}
